package io.renren.modules.generator.dao;

import io.renren.modules.generator.entity.SchoolEntity;
import io.renren.modules.sys.dao.BaseDao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-10-13 22:43:30
 */
@Mapper
public interface SchoolDao extends BaseDao<SchoolEntity> {

	List<SchoolEntity> findAllSchool();

	/**
	 * 查询校区
	 * @param schoolName
	 * @return
	 */
	List<SchoolEntity> findAllCampus(String schoolName);
	
}
